package com.ruoyi.system.domain.Vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Package: com.ruoyi.system.domain.vo
 * @ClassName: AProductVo.java
 * @Description: 商品返回对象
 * @author: zhengxiaolong
 * @date: 2024/8/17 16:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AProductVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 售价 */
    @Excel(name = "售价")
    private Double productPrice;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private Long productScore;

    /** 0:上架，1：下架 */
    @Excel(name = "0:上架，1：下架")
    private Integer productStatus;

    /** 库存 */
    @Excel(name = "库存")
    private Long productStock;

    private String categoryName;
}